package com.letao.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.letao.server.dto.Result;
import com.letao.server.entity.OrderInfo;
import com.letao.server.entity.SeckillInfo;

public interface ISeckillService extends IService<SeckillInfo> {
    Result getPage(Long page, Long pageSize);

    Result seckillOrder(Long id, OrderInfo orderInfo);

    Result getAdminPage(Long id, String name, Boolean hasStock, Integer seckillState, Long page, Long pageSize);

    Result createOrder(Long id, OrderInfo orderInfo, SeckillInfo info);
}
